import { post } from "@/utils/request"

export const getMenuByRoleId = (data: any) =>
  post<any>("/api/auth/getMenuByRoleId", data)
export const updateMenuByRoleId = (data: any) =>
  post<any>("/api/auth/updateMenuByRoleId", data)
